package com.oa.pm.entity;


import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.enums.IdType;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.io.Serializable;


import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableName;

import java.io.Serializable;

import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 家庭信息表
 * </p>
 *
 * @author syb123
 * @since 2019-01-22
 */
@Data
@TableName("pm_family_information")
@ApiModel(value = "家庭信息表")
public class FamilyInformation extends Model<FamilyInformation> {

    private static final long serialVersionUID = 1L;


    @ApiModelProperty(value = "主键")
    @TableId(value = "id", type = IdType.UUID)
    private String id;

    @ApiModelProperty(value = "入职信息表id")
    private String entryInformationId;

    @ApiModelProperty(value = "称谓")
    private String appellation;

    @ApiModelProperty(value = "姓名")
    private String name;

    @ApiModelProperty(value = "年龄")
    private Integer age;

    @ApiModelProperty(value = "职业")
    private String profession;

    @ApiModelProperty(value = "学历")
    private String educationBackground;

    @ApiModelProperty(value = "联系电话")
    private String telephone;

    @ApiModelProperty(value = "是否删除(1-已删除  2-未删除)")
    private Integer isDeleted;


    @Override
    protected Serializable pkVal() {
        return this.id;
    }

}